package com.fuluwa.infra.repository;

import java.util.List;

import javax.persistence.NamedQuery;

import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.Repository;

public interface DemoDao extends JpaRepository<DemoEntity, Long>,JpaSpecificationExecutor<DemoEntity> {
	DemoEntity findById(Long id);

	DemoEntity findByName(String name);

	DemoEntity findByCName(String name);
}
